package com.banch.cloud.hystrix.feign;

import org.springframework.stereotype.Component;

/**
 * Payment Fallback
 *
 * @author banch
 * @version 1.0
 * @date 2020/7/10
 */
@Component
public class PaymentFallbackServic implements PaymentHystrixService {

    @Override
    public String paymentOK(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK , (┬＿┬)";
    }


    @Override
    public String paymentTimeout(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut , (┬＿┬)";
    }
}